package com.gitee.huanminacb.lambda.sql;

import com.gitee.huanminabc.jlambda_sql.annotation.TableField;
import com.gitee.huanminabc.jlambda_sql.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author huanmin
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_user")
public class UserEntity implements Serializable{
    private static final long serialVersionUID = 1L;

//	@TableId(value = "id")
//	@TableId(value = "id", type = IdType.INPUT)
	private Long id;

	@TableField( "account")
	private String account;

	@TableField( "nickName")
	private String nickName;

	@TableField( "password")
	private String password;


	@TableField( "email")
	private String email;

	@TableField( "phoneNumber")
	private String phoneNumber;


	@TableField( "avatar")
	private String avatar;

	@TableField( "createBy")
	private Integer createBy;

	@TableField( value = "createTime")
	private Date createTime;

	@TableField( "updateBy")
	private String updateBy;

	@TableField(value = "updateTime")
	private Date updateTime;

	@TableField("balance")
	private BigDecimal balance;



	@TableField("startWordTIme")
	private Date startWordTIme;

	@TableField("birthdate")
	private Date birthdate;

	@TableField("location")
	private String location;


	@TableField("`desc`")
	private String desc;

}
